package com.edu.common.entity;


public class CourseLesson {

  private long id;
  private long courseId;
  private long sectionId;
  private String theme;
  private long duration;
  private long isFree;
  private java.sql.Timestamp createTime;
  private java.sql.Timestamp updateTime;
  private long isDel;
  private long orderNum;
  private long status;

  //课程视频
  private CourseMedia courseMedia;

  public CourseMedia getCourseMedia() {
    return courseMedia;
  }

  public void setCourseMedia(CourseMedia courseMedia) {
    this.courseMedia = courseMedia;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getCourseId() {
    return courseId;
  }

  public void setCourseId(long courseId) {
    this.courseId = courseId;
  }


  public long getSectionId() {
    return sectionId;
  }

  public void setSectionId(long sectionId) {
    this.sectionId = sectionId;
  }


  public String getTheme() {
    return theme;
  }

  public void setTheme(String theme) {
    this.theme = theme;
  }


  public long getDuration() {
    return duration;
  }

  public void setDuration(long duration) {
    this.duration = duration;
  }


  public long getIsFree() {
    return isFree;
  }

  public void setIsFree(long isFree) {
    this.isFree = isFree;
  }


  public java.sql.Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(java.sql.Timestamp createTime) {
    this.createTime = createTime;
  }


  public java.sql.Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(java.sql.Timestamp updateTime) {
    this.updateTime = updateTime;
  }


  public long getIsDel() {
    return isDel;
  }

  public void setIsDel(long isDel) {
    this.isDel = isDel;
  }


  public long getOrderNum() {
    return orderNum;
  }

  public void setOrderNum(long orderNum) {
    this.orderNum = orderNum;
  }


  public long getStatus() {
    return status;
  }

  public void setStatus(long status) {
    this.status = status;
  }

  @Override
  public String toString() {
    return "CourseLesson{" +
            "id=" + id +
            ", courseId=" + courseId +
            ", sectionId=" + sectionId +
            ", theme='" + theme + '\'' +
            ", duration=" + duration +
            ", isFree=" + isFree +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", isDel=" + isDel +
            ", orderNum=" + orderNum +
            ", status=" + status +
            ", courseMedia=" + courseMedia +
            '}';
  }
}
